//
//  Extension+UIColor.swift
//  Weibo
//
//  Created by mac on 15/12/20.
//  Copyright © 2015年 MK. All rights reserved.
//

import UIKit

extension UIColor {

    class func randomColor() ->UIColor {
        let r: CGFloat = CGFloat(random() % 256) / 255.0
        let g: CGFloat = CGFloat(random() % 256) / 255.0
        let b: CGFloat = CGFloat(random() % 256) / 255.0
    return UIColor(red: r, green: g, blue: b, alpha: 1.0)
    }

}

